Skip to main content

lock cursor

Type

command

Summary

Sets the lockCursor property to true, preventing the cursor shape from changing.

Syntax

lock cursor

Description

Use the lock cursor command to make the cursor retain a specified appearance until you change it.

The lock cursor command sets the lockCursor property to true.

Set the cursor property to change the cursor.

Examples

lock cursor
if the mouse is not down then lock cursor

property: lockCursor, cursor

command: lock moves, lock screen, unlock cursor

glossary: property, command, appearance

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?